Added check for existing activity in onServiceConnected()