Added App functions for firefox OS