Various changes for efficiency (using new methods in LAHTeX)
Use FLAG_ONE_SHOT for content intent