You can create a class with the same style as the hover, and when you click on one window, you can add this class to the field.
.project-option-boxes.active { background-color: #45ba95; color: #FFF; }
and assign the class to the fields,
$(document).on('click', 'project-option-boxes', function (e) { $(this).toggleClass('active'); }
source share