added functionality to cross out task when checkmark is checked and un-crossed out if click on checkmark again.