Changed order for setting state of tickets. Now in notification is new state of ticket, like in previous commit for new priority in notification.