Added state change between scenes