Finished functionality for changing tickets statuses.