Added some code to remove application badge after app is launched.