ECMS-5356: Fix the problem related to keeping the state of button on CKEditor toolbar