Added function to get current preset.