add master button to app delegate