Added restore method for delete values from inputs