made settings ready to be saved and restored