Fix Windows store App Api issue