Switched from input type submit to button type submit