Fixed the comments and javadoc, added buttons 

Added buttons for going back or next, as well as resetting the changes