DataMap dataMap;
Bundle bundle = intent.getBundleExtra("msg");
if (layoutSet && bundle != null) {
dataMap = DataMap.fromBundle(bundle);
String msg = dataMap.getString("msg", "");
<BUG>JoH.static_toast_short(msg);
}</BUG>
bundle = intent.getBundleExtra("steps");
if (layoutSet && bundle != null) {
<BUG>dataMap = DataMap.fromBundle(bundle);
mStepsCount = dataMap.getInt("steps", 0);
mTimeStepsRcvd = dataMap.getLong("steps_timestamp", 0);
}</BUG>
bundle = intent.getBundleExtra("data");

DataMap dataMap;
Bundle bundle = intent.getBundleExtra("msg");
if (layoutSet && bundle != null) {
dataMap = DataMap.fromBundle(bundle);
String msg = dataMap.getString("msg", "");
int length = dataMap.getInt("length", 0);
JoH.static_toast(xdrip.getAppContext(), msg, length);
}
bundle = intent.getBundleExtra("steps");
if (layoutSet && bundle != null) {
dataMap = DataMap.fromBundle(bundle);
if (mTimeStepsRcvd <= dataMap.getLong("steps_timestamp", 0)) {
