Add application icon and avoid to display NaN in viewer