Added functionality for changing tickets' statuses, not finished yet