updated comments and reworked action bar on detail activity