add status change listener