Android application for automatically managing profiles and events