relocate publish button method