Added the actionbar and the functions for the options