reimplemented checking of external media permissions
move connection to heart rate monitor outside of UI thread (caused hang
in UI when device not present). a ConnectTask extends AsyncTask to do
this