Fixed the NO_ACTION_BTN sample with resource