Changed lifecycle order