Britney Spears thanks lawyer Mathew Rosengart for 'turning her life around'