Minor code beautification for FlipBook sample