derive Copy for AppMode