Add launch app function.