prevent playing again until previous program is done