Fixed save function.

Now returns 'true' when save is successful.