alert() and closeAlert() added, tableview's switcher customization extended