Flickolu sessionStorage fixed

new function for setupBkg
if/else statement rewritten