 				return
 
 			# Get the last used presets
-			M.getLastUsed (lastUsed) =>
-				@lastUsed = lastUsed
-				return
-
-			# Get the service URL
-			chrome.extension.sendMessage {action: 'url'}, (url) =>
-				@url = url
-				@checkVersion()
-				return
+			chrome.storage.sync.get M.STORE.LASTUSED, (items) =>
+				@lastUsed = items[M.STORE.LASTUSED] ? []
+				return
+
+			# Listen to changes
+			chrome.storage.onChanged.addListener (changes, namespace) =>
+				switch namespace
+					when 'sync'
+						if M.STORE.LASTUSED of changes
+							@lastUsed = changes[M.STORE.LASTUSED].newValue
+						if M.STORE.BOX_SETTING of changes
+							@settingProps = changes[M.STORE.BOX_SETTING].newValue
+					when 'local'
+						if M.STORE.DEBUG of changes
+							@debug = changes[M.STORE.DEBUG].newValue
+							log 'MailFred debugging is enabled' if @debug
+						if M.STORE.EMAIL of changes
+							@settingEmail = changes[M.STORE.EMAIL].newValue
+				return
+
+			return
 
 		@storeLastVersion: (version) ->
 			store = {}

						item = new GMailUI.PopupMenuItem presetItem, label, title, '', false
						onChange = (e, checked) =>
							if checked
								M.storeLastUsed key, time
								wen = timeFn time
								log "schedule: #{time}, #{key}: #{wen}"
								schedule wen

					button = lastUsedSection.append new GMailUI.Button label, title
					timeFn = @generateTimeFn key
					button.on 'click', (e) =>
						@storeLastUsed key, time
						wen = timeFn time
						log "schedule: #{time}, #{key}: #{wen}"
						schedule wen
