Implemented submit button