change action items for detail based on which tab we are on