Added functionality to buttons in map activity to change between lists of directions