started implementaion of handling peripheral disconnection in views