Updated Java tutorial 2: magic-mirror

Change-Id: I8acfdf2ab2ced3215af43bbac5648c4466af7a1e