Keep submit button synced