Fixed the edit button on detail screen