Add catch block for loading light state