Make saveDefaultKey method static