Added warning when switched keys.