Fixed bugs caused by deleting the isTablet method.  This method is now part of the Device utils class.