use try block for style and app menu construction