Added ref and key for submit input button

Should fix #235