I am a nube, can someone point me to information on how to store in a database the position of a widget and weather or not it is folded up or down.