built the proper behavior for the response quality buttons on the front end