Added customisable launch mode for activity