Refactor of ThreadListController and ThreadAlertView