Added code to handle button clicks of Navigation bar. This code can be found in NavigationBar.java