Added a controller for the previous locations fragment