show message when having SecurityException, instead of crashing