check if bluetooth is enabled before starting/stopping scanning to prevent application not responding