added active class to the operation button that was last clicked