Added checks for advanced torrent settings

Added code to check if the settings were enabled to display or hide.