workaround for issue when switching from HDR to Sweep ZIF mode
moved rbw check whenever a state has been changed
Merge pull request #76 from mfarhan12/rbw_size_fix

workaround for issue when switching from HDR to Sweep ZIF mode