change device endpoint building, add Actions actionbar back