Fix missing return value from porting of app framework