Completed Main activity and details activity