fixed bugs on fav button not updating on back press