Removed code from main activity that was un necessary and caused crashes