Removed alerts from the UI code