adjusted Celly to work with new API

Signed-off-by: Jan Dvořák <mordae@anilinux.org>