Changed button to input of type submit