Re-arrange delete button

Moved delete and get all buttons in order to avoid unnecessary clicks.