Made changes for inactive ticket. Updated addNewTicket method to check
status of ticket before inserting to appropriate view