added 'set three buttons in navigation bar method'