Samsung Galaxy S5 Messages not in chronological order and other SMS problems

Fix Samsung Galaxy S4 “Unfortunately, Gallery has stopped” error after lollipop update