Restarting Favorsapp with refactored code