Modify alertController from var to let