Add settings functionality