Commit amend in api. #18

Change-Id: I03d925c86ba88c9dd6fc58c864af95ebd7015c6f
Commit amend in ui. Fixes #18

Change-Id: Ib2419f33a65dd62e149a01a27a17e7962f283e68