Change button class and add cancel button in required form