updating extension to call Brackets' new Preference APIs

updating extension to call Brackets' new Preference APIs