Removed debug function. Added setting action bar