Index: src/Device.cs
===================================================================
--- src/Device.cs	(revision 134661)
+++ src/Device.cs	(working copy)
@@ -278,11 +278,11 @@
 
         public void Save ()
         {
-            if (TrackDatabase != null) {
+            if (track_database != null) {
                 TrackDatabase.Save ();
             }
             
-            if (PhotoDatabase != null) {
+            if (photo_database != null) {
                 PhotoDatabase.Save ();
             }
             
