moved buttons to footer views
fixed button alignment and move delete showing
fix delete button