created a method called onAfterLoadInitData
which will be called right after loadInitData