move button from main dropdown to panel header / Version 7.5 Professional

Hello I want to move the button for the historycal summary (accounts) from the dropdown list to the panel heder, so that it is a standalone button that can directly be cklicked when the accounts view is open. Implementing it like this in \custom\modules\Accounts\clients\base\views\record\record.php