public void update(GameContainer gcan, StateBasedGame state, int dtime) throws SlickException
	{
		a.update();
		
		oa.update();
		ob.update();	
		oset.update();
		
		if(oset.activated())
		{
			invoked = true;
			SessionSettings.fullscreen = fullscreen;
			SessionSettings.devmode = devmode;
			SessionSettings.invoke();
		}
			
		
		if(oa.activated())
			fullscreen = true;
		else
			fullscreen = false;
		
		if(ob.activated())
			devmode = true;
		else
			devmode = false;
		
		if(a.activated())
		{
			invoked = false;
			
			if(SessionSettings.ingame)
				state.enterState(1);
			
			if(!SessionSettings.ingame)
				state.enterState(0, new FadeOutTransition(Color.black, 250), new FadeInTransition(Color.black, 250));
		}
	}