If the screen is starting to separate from the device and pop out, then it is 100% because the battery behind it is starting to swell up. This is especially evidenced by your device not charging now.[br]
[br]
Follow this guide: [guide|47287]
Use this part: [product|IF276-007]
Alternatively, take it to a shop local to you who can do the repair.[br]
[br]
I am confident that it will work properly again after replacing the battery.