Fixed Submit button issues

Fixed submit button, added rule violation to status-bar.