added button for opening graph