Moved buttons from main view to plugin