Simplify app logic by using FxosApps library.