Cards forms: Previous button background color is not possible to change