moved add_answer_button_class logic from view to model.