fix view
dinamic enable button
refactor