added device categories in all tabs. fixed few bugs.