DF#QCADOOMES-1672 Fixed problem with onCreate.