avoid double Acciddentals

Hi there,
Im entering Notes with a Kayboard. I’m in the key of Db Major. When I enter an A natural, Dorico displays a B double flat. How can I avoid these double Accidentals? While B double flat might be the correct spelling in harmonic theory, it nevertheless is awful to read.
Thank you!

Welcome to the forum, marcusbone. You can’t disable the input of pitches with double accidentals by default, but after inputting the music, you can select it all and then use Write > Transpose to transpose the music by the interval of a perfect unison, and activate the ‘Respell to avoid double and triple sharps and flats’ option.

Thank you!