Create saveBoolean method