Added slider and toggle buttons and improved settings menu