public boolean onKeyReleaseEvent(Container actor, KeyEvent event) {
		  switch (event.getKeyUnicode())
		    {
		    case 'a':
		      layout.setUseAnimations(!layout.isUseAnimations());
		      break;

		    case 'v':
		    	layout.setVertical(!layout.isVertical());
		      break;

		    case 'p':
		    	layout.setPackStart(!layout.isPackStart());
		      break;

		    case 's':
		      int spacing = layout.getSpacing();

		      if (spacing > 12)
		        spacing = 0;
		      else
		        spacing++;

		      layout.setSpacing(spacing);
		      break;

		    case '+':
		      addActor();
		      break;

		    case 'q':
		      Clutter.mainQuit();
		      break;

		    default:
		      return false;
		    }
		
		return true;
	}