You need to modifiy activity definition inside AndroidManifest as following :
<activity android:name=".ItemEdit" android:theme="@android:style/Theme.Dialog"></activity>
As you can see - the 'Edit Item' screen is ready now. you can modify here the name of item and quantity.