To check which application is being used by user.