Replace legacy key file for key file in KeePass database

I use key files for multiple years now and I switched from KeePass client to KeePassXC.
Since than I get info message about my key files being legacy. I decided to replace the key file format with the new one.
00001.png
This can be achieved in 3 steps:

  1. Open KeePass database with old key file format
  2. Go to Databases' security settings and remove the current key file

  3. Generate new key file for the database