disable and enable buttons after callbacks

disable and enable buttons after callbacks