added setOption for redis widget