Adding preference slider