add the selector and onSaveInstanceState