disable play and loop buttons when there are no loops