Refactor initializePreferredState into the init function
Preferred state no longer exists, so the abstraction is not needed.
See #608