moved device determination to content loadApp