newui: Refactor group actions