update launch mode for activity