change Consts class to abstract
code changed to one line from two lines
editor.putString(Consts.RECEIVE_DATA_FORMAT, Consts.BINARY).commit();
fix
changed name of EditText from log_text to edtlogText
changed name to more clear: radioButton -> rbSendDataType