Switching fragments for search does not work