Added ref and key for submit input button fixes #235