Changed the submit input tags to buttons