connected stat layout to actionbar