You could avoid the code dupe by putting ACTION_CYCLE_SUBTITLE above ACTION_NEXT_SUBTITLE, setting a bool, falling through and handling the bool in the next block.