fix on ios and wp8 by opening database with db extension; reset undo stack on successful calculation; install on device howto; prevent failure when closing input-container; chain db transactions with successful opendatabase