added first/last and atrecord to detail, and chnaged theme