Why does submit button change styles?