updated: device value viewing to return back the right tab in device screen