made widget independent of app for parsing calendar