script for only one pause btn at a time