Use ui_browser flag instead of webui

Due to the recent ui flag changes now ui_browser flag should be used to get browser type.

Change-Id: I6f11af96d6438db84f40bc14642c22f2e36148fe