Finish the implementation of the multi select form for bitmasks (event_flags and event_phase_mask)