Work On Contacts Permissions

more edits to the code+more comments in main activity