handle toggling favorite ads