Fixed enabling of submit button