changed the location where action listener is added to nextslidebutton
and also made sure selecting no book doesn't cause a crash