Split stuff out of FavouriteStopsActivity.java