Deleted hashes containing options and return the array of options in getValueOfInnerCheckbox function