The check of the preferences has been moved inside the route, thus it is executed even if the preferences are not set. Change-Id: Ibc03a41b469f096f69587eeed099178437d1f88e