try catch block for choosing colorscheme