Edit: removing debug codes
Fix: there were some leftover alert dialogs poping up. removed them.