Make sure a launching application is in 'starting' state.

Signed-off-by: Manson Li <manson.li@matchstick.tv>