Fix changeApplication problem
Add few useful methods