Why does Launchpad not remember my icon settings? I'm trying to use the Launchpad feature in Mac OS X, but my icons keep on getting rearranged.

I'll manually move icons around to my liking, but then after a restart, many of them are automatically rearranged to a different order than what I specified.

Note: It doesn't add an icon to a folder nor does it remove an icon from a folder. I've only seen it rearrange folders or icons which aren't in folders.

Why is this happening, and is there any way to fix it?
There is an Apple Discussion here that describes the same problem, and refers to this OSX Dialy link on how to correctly refresh LaunchPad, and fix a corrupted LaunchPad.

The short version of the answer is:


  Basically I used terminal to kill the dock with the command "killall Dock"
  
  Then I had to delete the dock database file located in "Home Folder/Library/Application Support/Dock" you get to your Library folder by holding down the option key while clicking "Go" in Finder.
  
  Then kill the dock again with the terminal command "killall Dock". 
  
  Finally After putting all my apps back where I wanted them they are now saving.