Ticket status changes made modular in controller