Add self-return when setting alternative to support chained calls

Signed-off-by: bergerkiller <bergerkiller@gmail.com>