Added functionality to Greetings and departures buttons