changed notification UI in xml and cleaned up code in mainactivity