How can I know which application is on foreground on a UIQ phone?