Add overload method for addNewRecord that accepts Record object

This method was added because the parameter when calling this method will be
shorter and comprehensible.