Added click fn to the bottom buttons