refactoring footer layout. Add disabled state for buttons