pm : spinner during state changes