Added functions to ActionBar