#35 Stop state machine when paused
#36 Crash issue of blank discount settings