Fixed sort and limit margin and added add to favorites in record view