Added !app support to the todo sample.