added actionbar handling