Edited setInitState to read standing data state values
(+ activated orientation control)