Fixed issue with local device detection.

    * Local device detection unable to categorize both mobile browser agents & devices. Added fix to check whether category is either mobile browser or device.