Added the button style
Included the validation