add events for array start and stop, change menu