Add 'lastaction' option on a per application basis.