Added stability to bluetooth connection