Added listener to bottom buttons