small edits to main activity and pin